package com.util.property;

/**
 * Created by reeves on 2015/8/29.
 * 此类主要用于读取global.properties文件的常量配置
 */
public class Properties {

    // 主页面每页显示的信息条数
    public static int PageSize_MainPage = Integer.parseInt(PropertyReader.getInstance().getProperty("PageSize_MainPage"));
    // 二级分类页面每页显示的信息条数
    public static int PageSize_SecondPage = Integer.parseInt(PropertyReader.getInstance().getProperty("PageSize_SecondPage"));
    // 三级分类页面每页显示的信息条数
    public static int PageSize_ThirdPage = Integer.parseInt(PropertyReader.getInstance().getProperty("PageSize_ThirdPage"));
    // 文章评论和回复列表
    public static int PageSize_PageComment = Integer.parseInt(PropertyReader.getInstance().getProperty("PageSize_PageComment"));
    // 用户评论的回复消息列表
    public static int PageSize_UserReply = Integer.parseInt(PropertyReader.getInstance().getProperty("PageSize_UserReply"));
    // 用户点赞列表信息列表
    public static int PageSize_Praise = Integer.parseInt(PropertyReader.getInstance().getProperty("PageSize_Praise"));
    // 用户收藏列表
    public static int PageSize_Collect = Integer.parseInt(PropertyReader.getInstance().getProperty("PageSize_Collect"));
    //服务器资源路径ip地址部分
    public static String ResourceDir = PropertyReader.getInstance().getProperty("ResourceDir");
    // 搜索热门分类时显示的热门分类的个数
    public static int HotSortationNum = Integer.parseInt(PropertyReader.getInstance().getProperty("HotSortationNum"));
    // 用户头像在服务器上的存储位置
    public static String UserPhotoPah = PropertyReader.getInstance().getProperty("UserPhotoPah");
    // 存储图像的TAG表示存储用户头像
    public static int UserPhoto_Tag = Integer.parseInt(PropertyReader.getInstance().getProperty("UserPhoto_Tag"));
    // 服务器ip访问地址
    // public static String ServerIP = PropertyReader.getInstance().getProperty("ServerIP");
    // 一级分类滑图的个数
    public static int TitlePic_Num = Integer.parseInt(PropertyReader.getInstance().getProperty("TitlePic_Num"));
    // 推荐滑图个数
    public static int RecomTitlePic_Num = Integer.parseInt(PropertyReader.getInstance().getProperty("RecomTitlePic_Num"));
    // 主页面每个三级分类显示条数
    public static int PageSize_MainPagePerThrid = Integer.parseInt(PropertyReader.getInstance().getProperty("PageSize_MainPagePerThrid"));
    // 主页面一页显示多少个三级分类的信息
    public static int Size_MainPageThird = Integer.parseInt(PropertyReader.getInstance().getProperty("Size_MainPageThird"));


    // 精选-整合间隔图片URL
    public static String Chosenconfirm_BreakUrl = PropertyReader.getInstance().getProperty("Chosenconfirm_BreakUrl");
    // 整合-专题间隔图片URL
    public static String Confirmsubject_BreakUrl = PropertyReader.getInstance().getProperty("Confirmsubject_BreakUrl");
    // Break2如果不是文章则采用的图片URL
    public static String Break2Url = PropertyReader.getInstance().getProperty("Break2Url");
    // Break4如果不是文章则采用的图片URL
    public static String Break4Url = PropertyReader.getInstance().getProperty("Break4Url");
    // 专题1大图图片URL
    public static String Subject1Url = PropertyReader.getInstance().getProperty("Subject1Url");
    // 专题2大图图片URL
    public static String Subject2Url = PropertyReader.getInstance().getProperty("Subject2Url");
    // 专题3大图图片URL
    public static String Subject3Url = PropertyReader.getInstance().getProperty("Subject3Url");
    // 专题4大图图片URL
    public static String Subject4Url = PropertyReader.getInstance().getProperty("Subject4Url");
    // 专题5大图图片URL
    public static String Subject5Url = PropertyReader.getInstance().getProperty("Subject5Url");
    // 专题6大图图片URL
    public static String Subject6Url = PropertyReader.getInstance().getProperty("Subject6Url");
    // 广告位图片URL
    public static String Page_adPicUrl = PropertyReader.getInstance().getProperty("Page_adPicUrl");
    // 安卓版本跬步下载地址
    public static String KuibuApp_downloadLink_Android = PropertyReader.getInstance().getProperty("KuibuApp_downloadLink_Android");
    // IOS版本跬步下载地址
    public static String KuibuApp_downloadLink_IOS = PropertyReader.getInstance().getProperty("KuibuApp_downloadLink_IOS");


    // 文章内容模板
    public static String Page_ModelURL = PropertyReader.getInstance().getProperty("Page_ModelURL");
    // 分享出去的文章内容模板
    public static String Page_ModelURLShare = PropertyReader.getInstance().getProperty("Page_ShareModelURL");
    // 测试文章内容模板
    public static String Page_TestModelURL = PropertyReader.getInstance().getProperty("Page_TestModelURL");

    // 图片默认质量
    public static String ImageQuality = PropertyReader.getInstance().getProperty("ImageQuality");
    // 高质量图片
    public static String ImageHighQuality = PropertyReader.getInstance().getProperty("ImageHighQuality");
    // 低质量图片
    public static String ImageLowQuality = PropertyReader.getInstance().getProperty("ImageLowQuality");

    // 融云平台appKey
    public static String RongCloud_appKey = PropertyReader.getInstance().getProperty("RongCloud_appKey");
    // 融云平台appSecret
    public static String RongCloud_appSecret = PropertyReader.getInstance().getProperty("RongCloud_appSecret");
    // 微信公众号appId
    public static String Wx_appId = PropertyReader.getInstance().getProperty("Wx_AppId");
    // 微信公众号密钥
    public static String Wx_secret = PropertyReader.getInstance().getProperty("Wx_secret");

    // 阿里云OSS服务初始化配置信息
    // Aliyun_Oss_AccessKeyId
    public static String Aliyun_Oss_AccessKeyId = PropertyReader.getInstance().getProperty("Aliyun_Oss_AccessKeyId");
    // Aliyun_Oss_AccessKeySecret
    public static String Aliyun_Oss_AccessKeySecret = PropertyReader.getInstance().getProperty("Aliyun_Oss_AccessKeySecret");
    // Aliyun_Oss_Endpoint
    public static String Aliyun_Oss_Endpoint = PropertyReader.getInstance().getProperty("Aliyun_Oss_Endpoint");
    // Aliyun_Oss_BucketName
    public static String Aliyun_Oss_BucketName = PropertyReader.getInstance().getProperty("Aliyun_Oss_BucketName");
    // Aliyun_Oss_ImagePrefix
    public static String Aliyun_Oss_ImagePrefix = PropertyReader.getInstance().getProperty("Aliyun_Oss_ImagePrefix");

    // 跬步+活动健身和健身中小活动信息
    // 健身ID
    public static long KbActivity_jianshenID = Integer.parseInt(PropertyReader.getInstance().getProperty("KbActivity_jianshenID"));
    // 平板支撑
    public static long KbActivity_pingban = Integer.parseInt(PropertyReader.getInstance().getProperty("KbActivity_pingban"));
    // 仰卧起坐
    public static long KbActivity_yangwo = Integer.parseInt(PropertyReader.getInstance().getProperty("KbActivity_yangwo"));
    // 俯卧撑
    public static long KbActivity_fuwocheng = Integer.parseInt(PropertyReader.getInstance().getProperty("KbActivity_fuwocheng"));
}
